<TITLE>yellowpages.vn - Vietnam Business Yellow Pages Directory - Trang Vang Vietnam</TITLE> 

<br><br>
 <form name="frmMain" action="{s_action}" method="post" onSubmit="return submitContact(frmMain)">
 <input type="hidden" name="hdCheck" value="{hdranima}">
 <input type="hidden" name="contactID" value="{contactID}">
<table width="95%"  border="0" align="center" cellpadding="2" cellspacing="0" class="tablebr">
  
  <tr align="center">
    <td colspan="3" valign="middle" class="mainTitle">Enquiry</td>
    </tr>
  <tr>
    <td align="right" valign="top" nowrap bgcolor="#F5F5F5" class="text-default" height="5"></td>
    <td align="center" valign="top" bgcolor="#F5F5F5" class="text-default"></td>
    <td align="left" bgcolor="#F5F5F5" class="text-default"></td>
  </tr>
  <tr>
     <td width="26%" align="right" nowrap bgcolor="#F5F5F5" class="text-default"> * Full Name </td>
     <td width="1%" align="center" bgcolor="#F5F5F5" class="text-default">:</td>
     <td width="73%" class="text-default"> <input name="txtFirsName" type="text" id="txtFirsName" size="50" maxlength="225"> </td>
   </tr>
  <tr>
     <td align="right" nowrap bgcolor="#F5F5F5" class="text-default"> * Company Name </td>
     <td width="1%" align="center" bgcolor="#F5F5F5" class="text-default">:</td>
     <td width="73%" class="text-default"><input name="txtCompany" type="text" id="txtCompany" size="50" maxlength="225"></td>
   </tr>
  <tr>
     <td align="right" nowrap bgcolor="#F5F5F5" class="text-default"> * Address </td>
     <td width="1%" align="center" bgcolor="#F5F5F5" class="text-default">:</td>
     <td width="73%" class="text-default"><input name="txtAddress" type="text" id="txtAddress" size="50" maxlength="225"></td>
   </tr>
   <tr>
     <td align="right"  nowrap bgcolor="#F5F5F5" class="text-default"> *  Email </td>
     <td width="1%" align="center" bgcolor="#F5F5F5" class="text-default">:</td>
     <td width="73%" class="text-default"><input name="txtEmail" type="text" id="txtEmail" size="50"></td>
   </tr>
   <tr>
     <td align="right" nowrap bgcolor="#F5F5F5" class="text-default">  Business Phone </td>
     <td width="1%" align="center" bgcolor="#F5F5F5" class="text-default">:</td>
     <td width="73%" class="text-default"><input name="txtBussinessPhone" type="text" class="input" id="txtBussinessPhone3" value="" size="20" maxlength="20"> </td>
   </tr>
  <tr>
    <td align="right" bgcolor="#F5F5F5" class="text-default">  * Subject<br>
      <span class="header">      (5-225 characters)</span></td>
    <td align="center" bgcolor="#F5F5F5" class="text-default">:</td>
    <td align="left" class="text-default"><input name="txtSubject" type="text" id="txtSubject" size="50" maxlength="225"></td>
  </tr>
  <tr>
    <td align="right" valign="top" bgcolor="#F5F5F5" class="text-default"> * Message<br>
      <span class="header">      (20-3000 characters) </span></td>
    <td align="center" valign="top" bgcolor="#F5F5F5" class="text-default">:</td>
    <td align="left" class="text-default"><textarea name="txtMessage" cols="50" rows="5" class="input" id="txtMessage"></textarea></td>
  </tr>
  <tr>
     <td align="right"   nowrap bgcolor="#F5F5F5" class="text-default"> * Confirm Text </td>
     <td align="center" bgcolor="#F5F5F5" class="text-default">&nbsp;</td>
     <td class="text-default"><input name="txtRanID" type="text" id="txtRanID">&nbsp;<img src="{getImage}creatiamges.php?ranID={ranima}" align="absmiddle"></td>
   </tr>
  <tr>
    <td align="right" class="text-default">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="left" class="text-default"><input type="submit" name="Submit" value="Send">
      <input type="reset" name="Submit2" value="Clear"></td>
  </tr>
</table>
<br>

 </form>
 <br>
<script language="javascript">
function displayDiv(){
	if (divCompany.style.display == 'none') {
		divCompany.style.display = '';			 
	} else {
		divCompany.style.display = 'none';			 
	}
	
}
function submitContact(frm){
	
	if(frm.txtFirsName.value==""){
	 	alert("Please input your  Full Name.")
		frm.txtFirsName.focus()
		return false
	}
	 
	if(frm.txtCompany.value==""){
	 	alert("Please input your Company Name.")
		frm.txtCompany.focus()
		return false
	}
	 
	if(frm.txtAddress.value==""){
	 	alert("Please input your address.")
		frm.txtAddress.focus()
		return false
	}
	if(!isemail(frm.txtEmail.value)){
	 	alert("Please input your email.")
		frm.txtEmail.focus()
		return false
	}
	if(frm.txtSubject.value==""){
		alert("Please input your message's subject.")
		frm.txtSubject.focus()
		return false
	}
	if(frm.txtMessage.value==""){
	 	alert("Please input your message.")
		frm.txtMessage.focus()
		return false
	}
	if(frm.txtRanID.value!=frm.hdCheck.value){
	 	alert("Please enter the text you see in the picture")
		frm.txtRanID.focus()
		return false
	}
	return true
}
</script>
